package com.neu.service;


import com.neu.pojo.Clazz;
import com.neu.pojo.PageResult;
import com.neu.pojo.Student;

public interface StudentService {


    //PageResult<Student> page(Integer page, Integer pageSize);
    PageResult<Student> page(Integer page, Integer pageSize,String name,Integer degree,Integer clazzId);

    void save(Student student);

    void deleteById(Integer id);


    Student getById(Integer id);

    void update(Student student);

    void updateViolation(Integer id, Short score);
}
